import sql
from datetime import datetime


def executionLog(taskId, senderId=None, senderName=None, interface=None, addresseeId=None,
                 addresseeName=None, statusCode=None, describe=None):
    implementTime = datetime.now()

    sql.add_executionLog(taskId, senderId, senderName, interface, addresseeId, addresseeName, statusCode, describe,
                         str(implementTime))
